package com.zixuan.gulicollege.msmservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName MsmApplication
 * @Author by zixuan
 * @Date 2021/5/18 9:40
 */

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@ComponentScan("com.zixuan.gulicollege")
public class MsmApplication {
    public static void main(String[] args) {
        SpringApplication.run(MsmApplication.class, args);
        System.out.println("后台服务启动成功(づ￣ 3￣)づ \n" +
                "___  ___                _____                 _          \n" +
                "|  \\/  |               /  ___|               (_)         \n" +
                "| .  . |___ _ __ ___   \\ `--.  ___ _ ____   ___  ___ ___ \n" +
                "| |\\/| / __| '_ ` _ \\   `--. \\/ _ \\ '__\\ \\ / / |/ __/ _ \\\n" +
                "| |  | \\__ \\ | | | | | /\\__/ /  __/ |   \\ V /| | (_|  __/\n" +
                "\\_|  |_/___/_| |_| |_| \\____/ \\___|_|    \\_/ |_|\\___\\___|\n");
    }
}
